Audio switching shortcuts on macOS

Previously I used AppleScripts to switch between various audio inputs/outputs (external speakers and two pairs of headphones) but those stopped working in macOS Ventura with conversion of “System Preferences” to “System Settings.” I looked into implementing a Shortcut to implement the same functionality, but I didn’t see any built-in way to change audio inputs and outputs.
SoundSourceSoundSource

Enter SoundSource. SoundSource provides an menu bar icon that lets one quickly switch between audio inputs and outputs. Even better it provides Shortcuts support! This allows one to invoke Shortcut actions like:

Set Output to External Speakers
Set Input to Display Microphone

Such a shortcut when combined with a quick launcher like LaunchBar allows one to quickly switch between sets of audio inputs/outputs. This has proved more reliable that my previous AppleScript implementations.


Date
January 20, 2023